ocaml: eventchn: remove the unused exception 'Eventchn.Error'
authorDavid Scott <dave.scott@eu.citrix.com>
Wed, 20 Mar 2013 20:24:45 +0000 (20:24 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 11 Apr 2013 11:03:12 +0000 (12:03 +0100)
Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/ocaml/libs/eventchn/xeneventchn.ml
tools/ocaml/libs/eventchn/xeneventchn.mli

index acebe10c6f96937c5079ba504a483a1973921f46..89edb9295d122f3be184a89abafe616f20ac439e 100644 (file)
@@ -14,8 +14,6 @@
  * GNU Lesser General Public License for more details.
  *)
 
-exception Error of string
-
 type handle
 
 external init: unit -> handle = "stub_eventchn_init"
@@ -32,5 +30,3 @@ external unmask: handle -> int -> unit = "stub_eventchn_unmask"
 
 let to_int x = x
 let of_int x = x
-
-let _ = Callback.register_exception "eventchn.error" (Error "register_callback")
index a35743b3400108b45755583aded20aca5a20662f..e4e02a4a81340e7217fb5c50211ceb2f20a4d214 100644 (file)
@@ -16,8 +16,6 @@
 
 (** Event channel bindings: see tools/libxc/xenctrl.h *)
 
-exception Error of string
-
 type handle
 (** An initialised event channel interface. *)